﻿namespace WMS6.Web.BaseInfoDetailServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="RentWhDetailQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), DebuggerStepThrough, GeneratedCode("System.Runtime.Serialization", "3.0.0.0")]
    public class RentWhDetailQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AreaField;
        [OptionalField]
        private string ContractIDField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string LineIDField;
        [OptionalField]
        private string LocationField;
        [OptionalField]
        private string RemarkField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string TotalPriceField;
        [OptionalField]
        private string UnitPriceField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;

        [DataMember]
        public string Area
        {
            get
            {
                return this.AreaField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AreaField, value))
                {
                    this.AreaField = value;
                    base.RaisePropertyChanged("Area");
                }
            }
        }

        [DataMember]
        public string ContractID
        {
            get
            {
                return this.ContractIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ContractIDField, value))
                {
                    this.ContractIDField = value;
                    base.RaisePropertyChanged("ContractID");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string LineID
        {
            get
            {
                return this.LineIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LineIDField, value))
                {
                    this.LineIDField = value;
                    base.RaisePropertyChanged("LineID");
                }
            }
        }

        [DataMember]
        public string Location
        {
            get
            {
                return this.LocationField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LocationField, value))
                {
                    this.LocationField = value;
                    base.RaisePropertyChanged("Location");
                }
            }
        }

        [DataMember]
        public string Remark
        {
            get
            {
                return this.RemarkField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RemarkField, value))
                {
                    this.RemarkField = value;
                    base.RaisePropertyChanged("Remark");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string TotalPrice
        {
            get
            {
                return this.TotalPriceField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TotalPriceField, value))
                {
                    this.TotalPriceField = value;
                    base.RaisePropertyChanged("TotalPrice");
                }
            }
        }

        [DataMember]
        public string UnitPrice
        {
            get
            {
                return this.UnitPriceField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UnitPriceField, value))
                {
                    this.UnitPriceField = value;
                    base.RaisePropertyChanged("UnitPrice");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }
    }
}

